#include <iostream>
using namespace std;
int main()
{
	int num;
	cin>>num;
	if (0<=num<=100)
	{
		if (num==0)
		{
			cout<<"Today, I ate 0 apple."<<endl; 
		}
		else if(num==1)
		{
			cout<<"Today, I ate 1 apple."<<endl;
		}
		else
		{
			cout<<"Today, I ate "<<num<<" apples."<<endl;
		}
	}
	else
	{
		cout<<"Impossible!"<<endl;
	}
	return 0;
}
